package com.poetize.plus.entity.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;

/**
 * @author zuosy
 * @created 2024/3/29 10:16
 */
@Schema(name = "管理页面修改用户状态入参")
public record ChangeForbiddenDTO(
        @Schema(description = "用户ID")
        @NotNull(message = "用户ID不能为空")
        Long id,

        @Schema(description = "禁用状态,true禁用,false非禁用")
        @NotNull(message = "禁用状态不能为空")
        Boolean forbidden
) {

}
